<?php if (isset($success)):?>
<p>Success add user</p>
<?php endif;?>
<div class="user-box box-skin">
	<div class="wrap-title">
		<h1>Register</h1>
	</div>
	<form class="register-form" method="post">
	<div class="wrap">
		<div id="name">
			<strong>Name:</strong>
			<label class="first-name">
				<input class="name" type="text" value="" name="first_name">
			</label>
			<label class="last-name">
				<input class="name last" type="text" value="" name="last_name">
			</label>
		</div>
		<label>
			<strong>Email :</strong>
			<input name="email" value="">
		</label>
		<label>
			<strong>Create a password :</strong>
			<input name="password" value="">
		</label>
		<label>
			<strong>Confirm password :</strong>
			<input name="password_confirm" value="">
		</label>
		
		<div id="birthday">
			<strong>Birthday :</strong>
			<label class="month">
				<select id="b-month" name="month">
					<option value="0">Select month</option>
					<option value="1">January</option>
					<option value="2" selected>February</option>
					<option value="3">March</option>
					<option value="4">April</option>
					<option value="5">May</option>
					<option value="6">June</option>
					<option value="7">July</option>
					<option value="8">August</option>
					<option value="9">September</option>
					<option value="10">October</option>
					<option value="11">November</option>
					<option value="12">December</option>
				</select>
			</label>
			<label class="day">
				<select id="b-day" name="day">
					<option value="0">Select day</option>
					<?php for ($i = 1; $i < 32; $i++):?>
					<option value="<?php echo $i?>" selected><?php echo $i?></option>
					<?php endfor;?>
				</select>
			</label>
			<label class="year">
				<select id="b-year" name="year">
					<option value="0">Select year</option>
					<?php for ($i = 1930; $i < 2012; $i++):?>
					<option value="<?php echo $i?>" selected><?php echo $i?></option>
					<?php endfor;?>
				</select>
			</label>
		</div>
		<label>
			<strong>Gender :</strong>
			<select name="gender">
				<option value="1">Male</option>
				<option value="2">Female</option>
			</select>
		</label>
		<label class="save">
			<button class="save" type="submit" name="save">Save</button>
		</label>
	</div>
	</form>
</div>
<?php /*

	<form action="/user/submit_register" method="post" accept-charset="utf-8" class="fancy-form">
	<p>Display name: <?php echo form::input('displayname','')?></p>
	<p>Email : <?php echo form::input('email','')?></p>
	<p>Password : <?php echo form::input('password','')?></p>
	<?php echo form::submit('add', 'Add')?>
	</form>
*/?>